home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-15 / whatport.zip / WHTPRT40.DOC < prev   
Text File  |  1991-10-11  |  8KB  |  198 lines

  1.                               WHATPORT.COM 
  2.  
  3.                                Version 4.0 
  4.                               October, 1990 
  5.  
  6.                   For detecting installed serial ports, 
  7.               type of mouse, IRQs used by ports and mouse,
  8.                       and potential IRQ conflicts
  9.  
  10.                Copyright 1989-1991 Life Sciences Software 
  11.                     8925 271st St., N.W., Suite 112
  12.                                 Box 1560
  13.                         Stanwood, Washington 98292 
  14.  
  15.  
  16. AUTHOR: Pete Petrakis (CIS 76555,1175)
  17.  
  18.  
  19. IMPROVEMENTS IN THIS VERSION:
  20.  
  21.     Version 4.0 of WhatPort is a substantial improvement over all previous
  22.     versions.  For the first time the program is able to detect the IRQ
  23.     line actually being used by the serial ports, instead of assuming that
  24.     the standard IRQs are being used.  This greatly increases the program's
  25.     usefulness in situations where unconventional IRQs have been assigned 
  26.     to serial ports.  The new version also detects and reports the base
  27.     address of each installed serial port.
  28.  
  29.  
  30. DESCRIPTION: 
  31.  
  32.     This program detects what serial ports (COM1-COM4) are installed 
  33.     in a standard (PC, XT, AT) or PS/2 system.  The type of mouse, if
  34.     present, is also shown (serial, bus, InPort, PS/2, HP) together with
  35.     the interrupt request (IRQ) line it's using (unless it's a PS/2).
  36.     The program warns of potential IRQ line conflicts between the
  37.     mouse and serial ports.  In the case of PS/2 computers, where
  38.     there should be no possibility of conflict between a PS/2 mouse
  39.     and a serial port, WHATPORT only reports the presence of the
  40.     PS/2 mouse and the characteristics of the serial ports it finds
  41.     installed (up to COM4).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.                                   -1-
  50.     
  51.     PRINCIPLE:
  52.  
  53.     Because standard PCs have only two IRQ lines for serial ports,
  54.     COM3 must share COM1's IRQ line and COM4 must share COM2's 
  55.     IRQ line.  Unfortunately, two devices using the same IRQ 
  56.     line can't be active at the same time.  COM3 can't be used for 
  57.     a printer or modem if a serial mouse is active on COM1, for 
  58.     example.  Likewise, COM4 can't be used if a serial mouse is 
  59.     active on COM2.  In other words, if you have four COM 
  60.     ports and a mouse is attached to one of them, you do not 
  61.     have three COM ports available for other devices, you only 
  62.     have two.  The COM port that shares the IRQ line being 
  63.     used by the mouse is not usable.  WHATPORT detects and
  64.     reports such conflicts.
  65.  
  66.     The following table shows what ports are available for other
  67.     devices in a conventionally configured PC, XT, or AT when a 
  68.     serial port mouse is present on a multiple-port system:
  69.  
  70.        Serial port mouse on     Ports available for other devices 
  71.        _____________________    _________________________________
  72.         COM1 or COM3 (IRQ4)          COM2 or COM4 (IRQ3) 
  73.         COM2 or COM4 (IRQ3)          COM1 or COM3 (IRQ4) 
  74.  
  75.     Conflicts with serial ports are also possible in the case of a
  76.     bus mouse.  For example, if a bus mouse is configured to use
  77.     IRQ3, there will be a conflict with both COM2 and COM4.  If it
  78.     is configured to use IRQ4, there will be a conflict with both
  79.     COM1 and COM3.  WHATPORT also detects and reports these conditions
  80.     so a different IRQ can be selected for the bus mouse.
  81.  
  82.     The PS/2 has a different arrangement.  COM1 in a PS/2 uses IRQ4,
  83.     and COM2, COM3, and COM4 share IRQ3.  There should not be any IRQ
  84.     conflicts with a PS/2 mouse in a PS/2 system since the PS/2 mouse
  85.     has its own port and does not use either IRQ3 or IRQ4.  However, it
  86.     seems theoretically possible that someone could attach an ordinary 
  87.     (non-PS/2) serial or bus mouse to a PS/2 machine, in which case
  88.     there could be IRQ conflicts.  With that kind of setup, a bus mouse
  89.     using IRQ3 could make three serial ports (COM2, COM3, and COM4)
  90.     unusable on a standard PS/2.
  91.  
  92.     As noted above, Version 4.0 does not assume that serial ports 1 to
  93.     4 are using the standard IRQ lines for a conventional or PS/2 computer.
  94.     Instead, it performs tests to determine which IRQ line each installed
  95.     serial port is actually using.  Furthermore, it determines the base 
  96.     address for each installed serial port.  Thus Version 4.0 should
  97.     be useful with virtually any system configuration.
  98.     
  99.                                    -2-
  100.  
  101. HOW TO USE THE PROGRAM:
  102.  
  103.     Just run it and read the results.  Adjustment for color or
  104.     monochrome display is automatic, but monochrome can be forced
  105.     by putting M on the command line.
  106.     
  107.     Some special considerations apply in the case of PS/2 systems, 
  108.     because the port addresses they use for COM3 and COM4 are different
  109.     from those in PCs, XTs, and ATs.  Version 4.0 of WHATPORT will
  110.     automatically detect the presence of an IBM PS/2 system and check
  111.     the right port addresses.  The option to declare the presence of a
  112.     PS/2 system with a command line switch has been eliminated from version
  113.     4.00 since experience shows that automatic detection of the system type
  114.     is reliable.
  115.  
  116.     IRQ conflicts between the mouse and a port are reported with the message, 
  117.  
  118.          "POTENTIAL IRQ CONFLICT -- COMx and the mouse share IRQy"
  119.  
  120.     where x is the number of the serial port and y is the number of the
  121.     IRQ line.  The message will be printed for each installed serial port
  122.     that is using the same IRQ line as the mouse.  If you see this message,
  123.     it means the specified serial port is probably useless for communications
  124.     or any other purpose.  With a bus mouse, the conflict can be resolved
  125.     by assigning a different IRQ line either to the serial port (in a few
  126.     systems) or, most commonly, to the mouse.  Options with a serial port
  127.     mouse are more limited.  For example, a serial port mouse on COM1 will
  128.     not only tie up that port, it will also tie up COM3 unless there is
  129.     some way to give COM3 a different IRQ.  (Note: The user assumes any
  130.     risk involved in IRQ assignments.  It is advisable to consult the
  131.     mouse or serial port installation manual for guidance in picking the
  132.     right IRQs.)
  133.  
  134.  
  135. SHAREWARE NOTICE
  136.  
  137.     WhatPort is widely used by computer consultants and others involved in
  138.     equipment installation and development, which is most gratifying to any
  139.     program author.  Since the effort to continuously improve the program
  140.     is not without expense, it has become necessary to make the program
  141.     shareware and ask people to register and pay if they use it regularly.
  142.     Obviously, many people will use it only once, when they install a new
  143.     mouse, for example, and it seems pointless to expect them to register.
  144.     However, it does seem appropriate to ask those who use it regularly for
  145.     business, professional, or institutional purposes to support its
  146.  
  147.                                       -3-
  148.  
  149.     continued development.  Beginning with Version 4.00, WhatPort is a 
  150.     shareware program.  The registration fee is modest, only $15 U.S.,  
  151.     and your support will be very much appreciated.  Please mail your
  152.     registration payment to the above address.
  153.  
  154.  
  155.  
  156. DISTRIBUTION AND DISCLAIMER: 
  157.  
  158.     WHATPORT.COM and this document are provided by Life Sciences Software,
  159.     Stanwood, Washington.  They may be copied and distributed promiscuously
  160.     provided they are not sold, modified, or separated.  Companies involved
  161.     in the distribution of diskettes containing shareware or free programs
  162.     are permitted to distribute these files and charge their normal fees for
  163.     that service.  Although WhatPort has been extensively tested, Life
  164.     Science Software and Pete Petrakis make no warranty concerning its
  165.     usefulness in all systems and accept no responsibility or liability for
  166.     any harm resulting directly or indirectly from its use.
  167.  
  168.                                              Pete Petrakis
  169.                                              Life Sciences Software
  170.                                              Stanwood, Washington
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.                                        -4-
  198.